feat(info): add 9 missing Info API methods#203
Merged
traderben merged 9 commits intohyperliquid-dex:masterfrom Aug 31, 2025
smypmsa:feat/add-missing-info-methods
Merged
feat(info): add 9 missing Info API methods#203traderben merged 9 commits intohyperliquid-dex:masterfrom smypmsa:feat/add-missing-info-methods
traderben merged 9 commits intohyperliquid-dex:masterfrom
smypmsa:feat/add-missing-info-methods
Conversation
Added comprehensive support for additional Hyperliquid Info API endpoints: - historical_orders: Retrieve user's historical orders with status - user_non_funding_ledger_updates: Get ledger updates excluding funding - portfolio: Comprehensive portfolio performance across time periods - batch_clearinghouse_states: Batch retrieval of multiple user states - user_twap_slice_fills: TWAP order slice fills - user_vault_equities: Vault investment positions - user_role: User role and account type information - user_rate_limit: API rate limit configuration and usage - delegator_history: Comprehensive staking history Also added comprehensive tests for all new methods and updated .gitignore to exclude VCR cassettes folder from version control. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Added testing/ folder to .gitignore for local manual testing scripts that should not be committed to the repository.
Contributor
Author
|
Please have a look @traderben |
traderben
reviewed
Aug 25, 2025
traderben
reviewed
Aug 29, 2025
traderben
reviewed
Aug 29, 2025
traderben
reviewed
Aug 29, 2025
tests/cassettes/info_test/test_user_non_funding_ledger_updates_without_end_time.yaml
Show resolved
Hide resolved
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes Made
New Info API Methods Added
historical_orders(user)- Retrieve user's historical orders (up to 2000 most recent)user_non_funding_ledger_updates(user, startTime, endTime)- Get non-funding ledger updatesportfolio(user)- Retrieve comprehensive portfolio performance databatch_clearinghouse_states(users, dex)- Get perpetuals account summaries for multiple usersuser_twap_slice_fills(user)- Retrieve user's TWAP slice fillsuser_vault_equities(user)- Get user's equity positions across all vaultsuser_role(user)- Retrieve role and account type informationuser_rate_limit(user)- Get API rate limit configuration and usagedelegator_history(user)- Retrieve comprehensive staking historyConfiguration Updates